import {Dispatch, SetStateAction} from 'react';

export type SetStateActionType<T> = Dispatch<SetStateAction<T>>;
export type StateType<T> = [T, React.Dispatch<React.SetStateAction<T>>];